\WP_Object_Cache D

Total Complexity 387
Dependencies 12
Dependents 1
Total lines 2,700
Lines of code 1,514
Logical lines of code 872
Comment lines 686
Methods 60
Properties 18

Methods 60

Method Rating Maintainability Complexity Lines of code
get_multiple()
D
29 30 133
connect_using_credis()
C
31 29 99
is_serialized()
B
41 24 53
__construct()
B
40 20 56
flush()
B
39 19 67
get()
B
37 17 80
add_or_replace()
B
38 16 69
connect_using_phpredis()
B
39 15 65
connect_using_predis()
A
41 15 55
set_multiple_at_once()
A
39 13 62
add_multiple_at_once()
A
39 13 61
connect_using_relay()
A
43 11 48
maybe_serialize()
A
56 10 18
delete_multiple_at_once()
A
44 8 45
set()
A
45 8 41
fetch_info()
A
54 8 21
delete()
A
48 7 34
connect_using_hhvm()
A
48 7 33
maybe_unserialize()
S
59 8 13
increment()
S
46 6 41
decrement()
S
46 6 41
build_parameters()
S
49 5 33
add_multiple()
S
59 6 13
lua_flush_extended_closure()
S
47 4 42
validate_expiration()
S
63 6 10
lua_flush_closure()
S
52 4 28
parse_redis_response()
S
62 5 12
info()
S
50 3 27
determine_client()
S
62 4 11
cache_group_types()
S
64 4 11
stats()
S
57 3 20
fast_build_key()
S
64 4 9
set_multiple()
S
63 4 10
delete_multiple()
S
63 4 10
handle_exception()
S
61 3 12
trace_command()
S
69 3 6
switch_to_blog()
S
68 3 7
get_from_internal_cache()
S
66 3 9
build_cluster_connection_array()
S
62 2 12
__get()
S
78 2 3
is_group_of_type()
S
75 2 4
add_global_groups()
S
65 2 9
add_to_internal_cache()
S
71 2 6
build_key()
S
67 2 8
get_flush_closure()
S
70 2 7
glob_quote()
S
60 1 13
is_unflushable_group()
S
79 1 3
redis_version()
S
82 1 3
decr()
S
79 1 3
flush_runtime()
S
77 1 4
redis_status()
S
81 1 3
redis_instance()
S
82 1 3
add_unflushable_groups()
S
73 1 5
add()
S
78 1 3
is_global_group()
S
79 1 3
add_non_persistent_groups()
S
73 1 5
sanitize_key_part()
S
79 1 3
is_ignored_group()
S
79 1 3
replace()
S
78 1 3
incr()
S
79 1 3